package com.centaline.androidsalesblog.api;

import com.centaline.androidsalesblog.BuildConfig;
import com.centaline.androidsalesblog.base.BaseApi;
import com.centaline.androidsalesblog.constants.UrlConstant;
import com.centaline.androidsalesblog.model.responseobject.CityListRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 城市列表
 * Created by guilin on 16/1/6.
 */
public class CityListApi extends BaseApi<CityListRo> {


    public CityListApi(Class<?> tag, Class<CityListRo> aClass, IResponseListener<CityListRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    @Override
    protected void setParams() {

    }


    @Override
    protected String getIp() {
        return BuildConfig.DEBUG ? UrlConstant.URL_CITY_LIST_ALPHA : UrlConstant.URL_CITY_LIST_RELEASE;
//        return UrlConstant.URL_CITY_LIST_ALPHA;
    }

    @Override
    protected String getPath() {
        return null;
    }
}
